package com.sec.util;

import org.springframework.security.authentication.encoding.Md5PasswordEncoder;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 * Created by Administrator on 2017/11/29.
 */
public class Test {

    public static void main(String[] args) {
        Md5PasswordEncoder md5 = new Md5PasswordEncoder();
        String pass = md5.encodePassword("123", "2");
        System.out.println(pass);
    }
}
